<?xml version="1.0"?>
<Workbook xmlns="urn:schemas-microsoft-com:office:spreadsheet"
          xmlns:o="urn:schemas-microsoft-com:office:office"
          xmlns:x="urn:schemas-microsoft-com:office:excel"
          xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet"
          xmlns:html="http://www.w3.org/TR/REC-html40">
  <Worksheet ss:Name="Thiết bị">
    <Table>
      <Row>
        <Cell><Data ss:Type="String">Mã tài sản</Data></Cell>
        <Cell><Data ss:Type="String">Tên tài sản</Data></Cell>
        <Cell><Data ss:Type="String">Mã loại</Data></Cell>
        <Cell><Data ss:Type="String">Đơn vị tính</Data></Cell>
        <Cell><Data ss:Type="String">Đơn giá</Data></Cell>
        <Cell><Data ss:Type="String">Số lượng</Data></Cell>
        <Cell><Data ss:Type="String">Thông sô kỹ thuật</Data></Cell>
        <Cell><Data ss:Type="String">Năm sử dụng</Data></Cell>
      </Row>
      <% @search.each do |tai_san| %>
          <Row>
            <Cell><Data ss:Type="Number"><%= tai_san.MaTS %></Data></Cell>
            <Cell><Data ss:Type="String"><%= tai_san.TenTS %></Data></Cell>
            <Cell><Data ss:Type="Number"><%= tai_san.LoaiT_id %></Data></Cell>
            <Cell><Data ss:Type="String"><%= tai_san.DvTinh %></Data></Cell>
            <Cell><Data ss:Type="Number"><%= tai_san.DonGia %></Data></Cell>
            <Cell><Data ss:Type="Number"><%= tai_san.SLuong %></Data></Cell>
            <Cell><Data ss:Type="String"><%= tai_san.ThongsoKT %></Data></Cell>
            <Cell><Data ss:Type="String"><%= tai_san.NamSD %></Data></Cell>
          </Row>
      <% end %>
    </Table>
  </Worksheet>
</Workbook>